package com.bwie.kanjia.feignservice;

import com.bwie.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @author ShuangyeZhao
 * @date 2022/3/11
 */
@FeignClient(name = "user")
public interface UserFeign {

    @RequestMapping("user/user/info/{userId}")
    public R info(@PathVariable("userId") Long userId);


    @RequestMapping("/user/goods/info/{goodsId}")
    public R goodsinfo(@PathVariable("goodsId") Long goodsId);



}
